Skip to content

feat: enable pkg-slim in postgres runtime images - #4

Merged
ahze merged 1 commit into
mainfrom
feat/pkg-slim
Nov 29, 2026
Merged

ahze merged 1 commit into
mainfrom
feat/pkg-slim

Conversation

@ahze

@ahze ahze commented Nov 29, 2026

Copy link
Copy Markdown
Member

Enable the default pkg-slim tiers before installing PostgreSQL packages in the production stage so headers, static archives, docs, and unused compiler binaries are skipped at extraction time while keeping pgvector and LLVM JIT functional. Document how downstream extension builders disable pkg-slim and restore PostgreSQL headers when building from this image.

Enable the default pkg-slim tiers before installing PostgreSQL packages in the production stage so headers, static archives, docs, and unused compiler binaries are skipped at extraction time while keeping pgvector and LLVM JIT functional. Document how downstream extension builders disable pkg-slim and restore PostgreSQL headers when building from this image.
@ahze

ahze commented Nov 29, 2026

Copy link
Copy Markdown
Member Author
Variant Before After (pkg-slim) Saved
18-pkg-latest (prebuilt pgvector) 2.63 GB 732 MB -1.90 GB (-72.2%)
17-pkg-latest (ports-compiled pgvector) 2.62 GB 730 MB ~-1.89 GB (-72.1%)
...

@ahze
ahze merged commit 572c508 into main Nov 29, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant